home *** CD-ROM | disk | FTP | other *** search
- /* ---------------------------------------------------------------------------
-
- common.h
-
- Copyright (c) 1995-6 Adobe Systems Incorporated
- All Rights Reserved
-
- --------------------------------------------------------------------------- */
-
-
- #include <A4Stuff.h>
-
- #include <stdio.h>
- #include <string.h>
- #include <Strings.h>
- #include <TextUtils.h>
-
- #include <QDOffscreen.h>
- #include <Memory.h>
- #include <ToolUtils.h>
-
- #include "AIBlock.h"
- #include "AIMenu.h"
- #include "AIProperty.h"
- #include "AIWindow.h"
- #include "AIUser.h"
-
- #include "AIFixedMath.h"
- #include "AIArt.h"
- #include "AIRaster.h"
- #include "AIDocumentView.h"
-
- /**-----------------------------------------------------------------------------
- **
- ** Types
- **
- **/
-
-
- #ifndef GLOBALSTRUCT
- #define GLOBALSTRUCT
- typedef struct {
-
- unsigned char menuText[65], menuOptionsText[65];
- AIMenuItemHandle quickcamMenu, quickcamOptionsMenu;
-
- } Globals;
-
- #endif
-
- extern Globals *g;
-
-
- // suite stuff
- extern AIBlockSuite *sBlock;
- extern AIMenuSuite *sMenu;
- extern AIMacMenuSuite *sMacMenu;
- extern AIMacUserSuite *sMacUser;
-
- extern AIFixedMathSuite *sMath;
- extern AIArtSuite *sArt;
- extern AIRasterSuite *sRaster;
-
- extern AIDocumentViewSuite2 *sDocumentView;
-
- extern FXErr acquireSuites( AIBasicSuite *sBasic );
- extern FXErr releaseSuites( AIBasicSuite *sBasic );
-
- // other stuff
- extern void pstrcopy( unsigned char *from, unsigned char *to );
-